
<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@include file="Style.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<input id="roleGloabal" type="hidden" value="session.user.role"/>
	  <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">二维码管理系统</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
            	<s:if test="session.id!=null"><li><a href="#">登录</a></li></s:if>
			  <li class="dropdown user user-menu">
				  <a href="#" class="dropdown-toggle" data-toggle="dropdown">
					  <!-- <img src="../img/user.jpg" class="user-image" alt="User Image"> -->
					  <i class="icon hy-cuscenter"></i>
					  <span class="hidden-xs">${user.name}</span>
				  </a>
				  <ul class="dropdown-menu">
					  <%--<li class="user-header">--%>
						  <%--<!-- <img src="../img/Enterprise.jpg" class="img-circle" alt="User Image"> -->--%>
						  <%--<p>--%>
							  <%--yuhuihui--%>
							  <%--<small>系统管理员</small>--%>
						  <%--</p>--%>
					  <%--</li>--%>
					  <li class="user-footer" class="btn-default">
						  <a href="/logout.action">退出系统</a>
					  </li>
				  </ul>
			  </li>
          </ul>
        </div>
      </div>
    </nav>

	<div class="container-fluid">
		<div class="row">
			<div class="col-sm-3 col-md-2 sidebar">
				<ul class="nav nav-sidebar">
					<li<c:if test="${session.colId==1||session.colId==''}"> class="active"</c:if>><a href="/asset/listAsset.action?colId=1">资产管理 <span class="sr-only"></span></a></li>
				</ul>
				<ul class="nav nav-sidebar">
					<li <c:if test="${session.colId==2}"> class="active"</c:if>>
						<a href="#" data-toggle="dropdown" class="dropdown-toggle">
							资产盘点<span class="caret"></span>
						</a>
						<ul class="col-sm-12 col-md-12 dropdown-menu">
							<li><a href="/asset/toPdAlreadyAsset.action?colId=2">已盘点</a></li>
							<li><a href="/asset/toPdNotAsset.action?colId=2">未盘点</a></li>
						</ul>
					</li>
				</ul>
				<%--<s:if test="session.user.role == 0">--%>
					<ul class="nav nav-sidebar">
						<li <c:if test="${session.colId==3}"> class="active"</c:if>><a href="/asset/userList.action?colId=3">用户管理</a></li>
					</ul>
				<%--</s:if>--%>
				<%--<ul class="nav nav-sidebar">--%>
					<%--<li <c:if test="${session.colId==4}"> class="active"</c:if>><a href="/asset/userList.action?colId=3">地点管理</a></li>--%>
				<%--</ul>--%>

			</div>
		</div>
	</div>
<script>
</script>